Optimal. Leaf size=34 \[ -\frac{1}{3} \cot (x) \left (a \sin ^2(x)\right )^{3/2}-\frac{2}{3} a \cot (x) \sqrt{a \sin ^2(x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0185186, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {3203, 3207, 2638} \[ -\frac{1}{3} \cot (x) \left (a \sin ^2(x)\right )^{3/2}-\frac{2}{3} a \cot (x) \sqrt{a \sin ^2(x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3203
Rule 3207
Rule 2638
Rubi steps
\begin{align*} \int \left (a \sin ^2(x)\right )^{3/2} \, dx &=-\frac{1}{3} \cot (x) \left (a \sin ^2(x)\right )^{3/2}+\frac{1}{3} (2 a) \int \sqrt{a \sin ^2(x)} \, dx\\ &=-\frac{1}{3} \cot (x) \left (a \sin ^2(x)\right )^{3/2}+\frac{1}{3} \left (2 a \csc (x) \sqrt{a \sin ^2(x)}\right ) \int \sin (x) \, dx\\ &=-\frac{2}{3} a \cot (x) \sqrt{a \sin ^2(x)}-\frac{1}{3} \cot (x) \left (a \sin ^2(x)\right )^{3/2}\\ \end{align*}
Mathematica [A] time = 0.0378638, size = 26, normalized size = 0.76 \[ \frac{1}{12} a (\cos (3 x)-9 \cos (x)) \csc (x) \sqrt{a \sin ^2(x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.628, size = 24, normalized size = 0.7 \begin{align*} -{\frac{{a}^{2}\cos \left ( x \right ) \sin \left ( x \right ) \left ( 2+ \left ( \sin \left ( x \right ) \right ) ^{2} \right ) }{3}{\frac{1}{\sqrt{a \left ( \sin \left ( x \right ) \right ) ^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a \sin \left (x\right )^{2}\right )^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.55797, size = 81, normalized size = 2.38 \begin{align*} \frac{{\left (a \cos \left (x\right )^{3} - 3 \, a \cos \left (x\right )\right )} \sqrt{-a \cos \left (x\right )^{2} + a}}{3 \, \sin \left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a \sin ^{2}{\left (x \right )}\right )^{\frac{3}{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.22319, size = 32, normalized size = 0.94 \begin{align*} \frac{1}{3} \,{\left ({\left (\cos \left (x\right )^{3} - 3 \, \cos \left (x\right )\right )} \mathrm{sgn}\left (\sin \left (x\right )\right ) + 2 \, \mathrm{sgn}\left (\sin \left (x\right )\right )\right )} a^{\frac{3}{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]